<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>物流方后台管理</title>
		<link href="../../../css/logistics-common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="newTaskList.css" type="text/css" rel="stylesheet"></link>
		<link rel="stylesheet" type="text/css" href="../../../component/autocomplete/jquery.autocomplete.css" />
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />

	</head>

	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page field-section" data-page="newTaskList">
						<div class="page-header">
							<label>当前位置：</label>收货理货
							<div id="addTallyTask" class="page-content-button none" style="display: inline-block; float: right;margin-right: 15px;">新增</div>
						</div>
						<div class="page-content">
							<div class="page-content-main table-section">
								<table class="table">
									<thead>
										<tr>
											<th>序号</th>
											<th>接收时间|融资编号</th>
											<th>融资企业</th>
											<th>货物名称</th>
											<th>货物数量</th>
											<th>已整理</th>
											<th>未整理</th>
											<th>重量（吨）</th>
											<th>创建时间</th>
											<th>状态</th>
											<th>确认员</th>
											<th>操作</th>
										</tr>
									</thead>

									<tbody id="newTaskListBody">
									</tbody>
									<script type="text/template" id="logisticsCompanyListTpl">
										{@each datas as it, index}
										<tr class="tr_style table-data" recieveNoticeId="${it.recieveNoticeId}">
											<td>${index*1 + 1}</td>
											<td>
												<div>
													${it.confirmDateTime}
												</div>
												<div class="number_finance">${it.financeNumber}</div>
											</td>
											<td>${it.enterpriseName}</td>
											<td>
												{@each it.bulkstocks as that} ${that.bulkstockName}(${that.specification})
												<br/> {@/each}

											</td>
											<td>
												{@each it.bulkstocks as that} ${that.quantity}
												<br/> {@/each}
											</td>
											<td>
												{@each it.bulkstocks as that} ${that.tallying}
												<br/> {@/each}
											</td>
											<td>{@each it.bulkstocks as that} ${that.quantity-that.tallying}
												<br/> {@/each}
											</td>
											<td>
												{@each it.bulkstocks as that} ${that.weight}
												<br/> {@/each}
											</td>
											<td>${it.createDateTime}</td>
											<td>
												${getValueByKey(12, it.noticeState)}
											</td>
											<td>${it.confirmAccount}</td>
											<td>
												<a class="handle-type">详情</a>
												{@if it.enterpriseName == "" && it.financeNumber == ""}
													<a class="delete-type">删除</a>
												{@/if}	
											</td>
										</tr>
										{@/each}
									</script>

								</table>
								<div id="pagenation" class="pagerCon"></div>
							</div>
						</div>
					</div>
				</div>
				<div id="popdialog"></div>
			</div>
			<!-- 确认框 -->
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn">确定</div>
				</div>
			</div>
			<div id="fullBg" class="fullBg none"></div>
			<div id="footer" class="none footer" >
		    </div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script src="../../../component/upload/jquery.ui.widget.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/upload/jquery.iframe-transport.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/upload/jquery.fileupload.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../component/layer/layer.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/logistics/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/autocomplete/jquery.autocomplete.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript">
			seajs.use('./newTaskList', function(newTaskList) {
				newTaskList.init(0, 1);
			});
		</script>
	</body>

</html>